package com.itheima.junit;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class JunitDemo {
    public static void main(String[] args) {

    }
    private int a;
    private  String s;
    @Before
    public void add(){
        a=10;
        s = "张三";
        System.out.println("add");
    }
    @Test
    public void aaa(){
        System.out.println(a+s);
        System.out.println("aaa");
    }
    @After
    public void ccc(){
        System.out.println("ccc");
    }
}
